package com.cssy.xxkj.logic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicProductionDailyDO;
import com.cssy.xxkj.logic.entity.LogicProductionDailyItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;

public interface ILogicProductionDailyService  extends IBaseService<LogicProductionDailyDO>{
	
	public SearchResult findListByRoleExample(SearchConditions scs)throws SyBaseException;
	
    /**
     * 查询日报ITEM
     */
	public List<LogicProductionDailyItemDO> findDispatItemList(String planId) throws SyBaseException;
	
	/**
	 * 保存
	 * @param request
	 * @param curAP
	 * @throws SyBaseException
	 */
	@Transactional
	public void dailySave(HttpServletRequest request,LogicProductionDailyDO curAP)throws SyBaseException;
	
	
	@Transactional
	public void pldailyToSave(HttpServletRequest request, List<String> detailIdList, String flagMark)throws SyBaseException;
	
}
